package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.MesEquipmentRunningRecordDTO;
import com.hunttown.mes.rpc.domain.query.MesEquipmentRunningRecordDTOQuery;

/**
 * created by wangjunfu on 2022-03-30 15:26:47
 */
public interface MesEquipmentRunningRecordRpcService {

    MesEquipmentRunningRecordDTO insert(MesEquipmentRunningRecordDTO mesEquipmentRunningRecordDTO);

    Boolean updateInfoById(MesEquipmentRunningRecordDTO mesEquipmentRunningRecordDTO);

    Boolean updateInfoByQuery(MesEquipmentRunningRecordDTOQuery mesEquipmentRunningRecordDTOQuery);

    MesEquipmentRunningRecordDTO selectById(Integer id);

    MesEquipmentRunningRecordDTO selectObjByQuery(MesEquipmentRunningRecordDTOQuery mesEquipmentRunningRecordDTOQuery);

    Page<MesEquipmentRunningRecordDTO> getListForPage(MesEquipmentRunningRecordDTOQuery mesEquipmentRunningRecordDTOQuery);

    Boolean deleteById(Integer id);
}